﻿@model BudgetMealsUI.Models.ListViewModel<BudgetMealsModels.Entities.Recipe>

@{Html.RenderAction("ShowTopRecipes", "Recipe");}

<link href="@Url.Content("~/Content/CSS/Thumbnails.css")" rel="stylesheet" type="text/css" />

<div id="RecipeThumbnails">
    @foreach (var i in Model.PageItems)
    {
        Html.RenderPartial("ShowRecipeThumbnail",i);
    }
</div>
<div class="ClearFix"></div>
<div id="pager">
@Html.PageLinks(Model.Info, x => Url.Action("Index", new { page = x }))
</div>